cmake_minimum_required(VERSION 3.29)
project(c_plus_test)

set(CMAKE_CXX_STANDARD 20)
add_executable(main main.cpp)

add_executable(structure basic_applications/structure.cpp)
add_executable(c1-3 c5_source_code/第1章/c1-3.c)
add_executable(pointer14 basic_applications/pointer3.cpp)
add_executable(reverse_arr basic_applications/reverse_arr.cpp)
add_executable(function basic_applications/function.cpp)
add_executable(c8-9-2 c5_source_code/第8章/c8-9-2.c)
add_executable(c8-11 c5_source_code/第8章/c8-11.c)
add_executable(c8-13 c5_source_code/第8章/c8-13.c)